package com.java2007.hotel.utils;

import java.util.UUID;

/**
 * @author Reckeys
 * @version V1.0
 * @date 2021/01/24
 **/
public class UuidUtils {
    /**
     * 将文件名修改成uuid
     * @param suffix 后缀名
     * @return
     */
    public static String getUuidFileName(String suffix){
        return UUID.randomUUID().toString().replaceAll("-","") + suffix;
    }
}
